package com.hhit.zhgd.service

import com.baomidou.mybatisplus.extension.plugins.pagination.Page
import com.baomidou.mybatisplus.extension.service.IService
import com.hhit.zhgd.domain.entity.Role
import org.apache.ibatis.annotations.Param

interface RoleService:IService<Role> {
    fun getAll(params:HashMap<String,*>):List<Role>
    fun getList(page:Page<Role>,@Param("params") params: HashMap<String, Any?>): Page<HashMap<String, Any?>>
    fun checkRole(role: String): Boolean?
}